package com.epalmpay.service.operator;

import java.util.Date;
import java.util.List;

import com.epalmpay.dto.operator.SysLogQueryDTO;
import com.epalmpay.dto.operator.SysTaskLogInDTO;
import com.epalmpay.dto.operator.SysTaskLogListOutDTO;
import com.epalmpay.entity.Page;
import com.epalmpay.entity.Syslog;

/**
 * Created by lifayi on 2017/5/3.
 */
public interface ISysLogService {
//	public int addSysLog(SysLogInDTO sysLogInDTO) throws Exception;
	
	public int addSysLog(Long userId,String userName,String ip,String content,Long groupId) throws Exception;

    public int delSysLog(SysLogQueryDTO sysLogQueryDTO) throws Exception;

    public List<Syslog> listSysLog(SysLogQueryDTO sysLogQueryDTO, Page page) throws Exception;
    
    public SysTaskLogListOutDTO getSysTaskLogList(SysTaskLogInDTO sysTaskLogInDTO,Page page) throws Exception;
    
    //public SysTaskLogListOutDTO sysTaskLogReRun(SysTaskLogInDTO sysTaskLogInDTO) throws Exception;
    
    //插入计划任务处理日志
    public int recordSysTaskLog(int taskType,Date taskDate,int resultStatus) throws Exception;
    //插入计划任务处理日志
    public int recordSysTaskLog(int taskType,Date taskDate,int resultStatus,String memo) throws Exception;

}
